<extend name="base" />
<block name="style2">
<style type="text/css">
table td{
    padding:2px;
}
td table{
    position:absolute;
    background-color: white;
    width:auto;
    display: none;
}
td table td{
    border: 0.5px solid black;
}
</style>
</block>
<block name="js2">
</block>
<block name="content">
<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
    <h2 class="sub-header">模块信息查询
      <div class="btn-group" role="group" aria-label="..." >
          <div class="btn-group" role="group">
              <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
              选择专业
              <span class="caret"></span>
              </button>
              <ul class="dropdown-menu">
                <li><a href='<{:U("Home/ModuleLook/tujian")}>'>土建专业数据</a></li>
                <li><a href='<{:U("Home/ModuleLook/tieta")}>'>铁塔专业数据</a></li>
                <li><a href='<{:U("Home/ModuleLook/jiaoliu")}>'>交流专业数据</a></li>
                <li><a href='<{:U("Home/ModuleLook/peitao")}>'>配套专业数据</a></li>
              </ul>
          </div>
      </div>
    </h2>

    <div class="table table-responsive ">
        <table class="table table-striped table-bordered table-condensed">
            <thead>
                <tr>
                    <th  rowspan="2">序号</th>
                    <th  rowspan="2">模块名称</th>
                    <th  rowspan="2">模块编号</th>
                    <th  rowspan="2">简要工作内容</th>
                    <th  rowspan="2">分类</th>
                    <th colspan="3" >基准金额</th>
                    <th rowspan="2">计量单位</th>
                </tr>
                <tr>
                    <th>基础经济</th>
                    <th>安全费用</th>
                    <th>合计</th>
                </tr>
            </thead>
            <tbody>
            <foreach name="moduleData" item="v">
	            <tr>
	                <td><{$v.id}></td>
	                <td><{$v.module_name}></td>
	                <td name="number"><{$v.number}></td>
	                <td>
	                    <p title="<{$v.remark}>">工作内容包括...</p>
	                </td>
	                <td name="class"><{$v.class}></td>
	                <td><{$v.baseprice}></td>
	                <td><{$v.safeprice}></td>
	                <td><{$v["baseprice"]+$v["safeprice"]}></td>
	                <td><{$v.measure}></td>
	            </tr>
	        </foreach>
            </tbody>
        </table>
    </div>
</div>
</block>